package com.fh.mapper.loan;

import com.fh.model.loan.CallLoanDetail;
import com.fh.model.loan.CallLoanDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CallLoanDetailMapper {
    int countByExample(CallLoanDetailExample example);

    int deleteByExample(CallLoanDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CallLoanDetail record);

    int insertSelective(CallLoanDetail record);

    List<CallLoanDetail> selectByExample(CallLoanDetailExample example);

    CallLoanDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CallLoanDetail record, @Param("example") CallLoanDetailExample example);

    int updateByExample(@Param("record") CallLoanDetail record, @Param("example") CallLoanDetailExample example);

    int updateByPrimaryKeySelective(CallLoanDetail record);

    int updateByPrimaryKey(CallLoanDetail record);
    /**
     * 催收案件详细信息表
     * @param userId
     * @return
     */
	CallLoanDetail queryByUserId(String userId);
}